PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

IconFamilyElement

Contains data describing individual icon types obtained from an 'icns' resource.

struct IconFamilyElement {
    OSType          elementType; /* 'ICN#', 'icl8', etc...*/
    Size            elementSize; /* Size of this element*/
    unsigned char   elementData[1];
};
typedef struct IconFamilyElement IconFamilyElement;

elementType
A value of type OSType . This four-character code specifies which type of icon resource (icl8 , for example) is described by this particular element.

elementSize
A value of type Size . This value specifies the size of the data contained in the elementData field plus 8 bytes; that is, the total size of the element.

elementData
An array of values of type char . These values define the icon family element specified in this structure.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)